﻿#pragma once

#include <iostream>
#include <assert.h>

using namespace std;
class Bitmap
{
public:
	Bitmap(int size);
	Bitmap(int size, int start);
	~Bitmap();

	int set(int index);
	int clear(int index);
	int exists(int index);

private:
	int m_size = 0;
	int m_base = 0;
	unsigned char* m_bitmap;
};
